finalize-staged: Bump timeout to 5 minutes
authorColin Walters <walters@verbum.org>
Fri, 12 Oct 2018 15:37:49 +0000 (11:37 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 16 Oct 2018 20:55:44 +0000 (20:55 +0000)
commite242033fe722eb54776c428c124ff300075ff7d0
treed09ab6f4cb86d8a7eb0916439e75f03c09e3b0cc
parent04aff9c1c022e70ec46597bbb48c4ecfd103b50c
finalize-staged: Bump timeout to 5 minutes

See https://github.com/projectatomic/rpm-ostree/issues/1568

Basically for people on e.g. rotational media, the default 90
second timeout can be too small.

We're in a tough situation here, because delaying shutdown
can be problematic too if the user is trying to shut down their
laptop to put in a backpack, etc.

There's potential optimizations here to make; I think we
could pre-copy the kernel/initramfs for example.

I suspect for some people the grub2 os-prober is a factor here too,
if that tries to e.g. inspect attached USB rotational hard drives.
But hopefully we'll get rid of that soon.

Closes: #1755
Approved by: jlebon
src/boot/ostree-finalize-staged.service